﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
    public partial    class MonThi:DtoClass
    {
        public MonThi()
        { _tableName = "MonThi";
        _keyField = "Ma" + _tableName;
        _thoiGianBatDau = new DateTime();
        _thoiGianKetThuc = new DateTime();
        }
        public MonThi(Int64 maMonThi,Int64 maKyThi,Int16 maMon,DateTime thoiGianBatDau,DateTime thoiGianKetThuc)
        {
            _tableName = "MonThi";
            _keyField = "Ma" + _tableName;
            this.MaMonThi = maMonThi;
            this.MaKyThi = maKyThi;
            this.MaMon = maMon;
            this.ThoiGianBatDau = thoiGianBatDau;
            this.ThoiGianKetThuc = thoiGianKetThuc;
        }
        private Int64 _maMonThi = 0;

        public Int64 MaMonThi
        {
            get { return _maMonThi; }
            set { _maMonThi = value; }
        }
        private Int64 _maKyThi = 0;

        public Int64 MaKyThi
        {
            get { return _maKyThi; }
            set { _maKyThi = value; }
        }
        private Int16 _maMon = 0;

        public Int16 MaMon
        {
            get { return _maMon; }
            set { _maMon = value; }
        }
        private DateTime _thoiGianBatDau;

        public DateTime ThoiGianBatDau
        {
            get { return _thoiGianBatDau; }
            set { _thoiGianBatDau = value; }
        }
        private DateTime _thoiGianKetThuc;

        public DateTime ThoiGianKetThuc
        {
            get { return _thoiGianKetThuc; }
            set { _thoiGianKetThuc = value; }
        }
    }
}
